package com.zt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName promotions
 */
@TableName(value ="promotions")
@Data
public class Promotions implements Serializable {
    private Long id;

    private String name;

    private String description;

    private Integer type;

    private Integer discountType;

    private BigDecimal discountValue;

    private BigDecimal conditionAmount;

    private Date startTime;

    private Date endTime;

    private Integer status;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}